package scauCmiScaffolding.compiled;

import org.eclipse.jet.JET2Context;
import org.eclipse.jet.JET2Template;
import org.eclipse.jet.JET2Writer;
import org.eclipse.jet.taglib.RuntimeTagElement;
import org.eclipse.jet.taglib.TagInfo;

public class _jet_variable_4 implements JET2Template {
    private static final String _jetns_c = "org.eclipse.jet.controlTags"; //$NON-NLS-1$
    private static final String _jetns_java = "org.eclipse.jet.javaTags"; //$NON-NLS-1$

    public _jet_variable_4() {
        super();
    }

    private static final String NL = System.getProperty("line.separator"); //$NON-NLS-1$
    
    private static final TagInfo _td_c_iterate_1_4 = new TagInfo("c:iterate", //$NON-NLS-1$
            1, 4,
            new String[] {
                "select", //$NON-NLS-1$
                "var", //$NON-NLS-1$
            },
            new String[] {
                "$eachTable/referenceds/referencedTable", //$NON-NLS-1$
                "referencedTable", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_iterate_2_5 = new TagInfo("c:iterate", //$NON-NLS-1$
            2, 5,
            new String[] {
                "select", //$NON-NLS-1$
                "var", //$NON-NLS-1$
            },
            new String[] {
                "$tables/table", //$NON-NLS-1$
                "everyTable", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_if_3_6 = new TagInfo("c:if", //$NON-NLS-1$
            3, 6,
            new String[] {
                "test", //$NON-NLS-1$
            },
            new String[] {
                "$everyTable/@name=$referencedTable/@name", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_choose_4_7 = new TagInfo("c:choose", //$NON-NLS-1$
            4, 7,
            new String[] {
            },
            new String[] {
            } );
    private static final TagInfo _td_c_when_5_8 = new TagInfo("c:when", //$NON-NLS-1$
            5, 8,
            new String[] {
                "test", //$NON-NLS-1$
            },
            new String[] {
                "$everyTable/@name=$eachTable/@name", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_when_8_8 = new TagInfo("c:when", //$NON-NLS-1$
            8, 8,
            new String[] {
                "test", //$NON-NLS-1$
            },
            new String[] {
                "$referencedTable/@isRelation='true'", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_iterate_9_9 = new TagInfo("c:iterate", //$NON-NLS-1$
            9, 9,
            new String[] {
                "select", //$NON-NLS-1$
                "var", //$NON-NLS-1$
            },
            new String[] {
                "$everyTable/foreigns/column", //$NON-NLS-1$
                "foreign", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_choose_10_10 = new TagInfo("c:choose", //$NON-NLS-1$
            10, 10,
            new String[] {
            },
            new String[] {
            } );
    private static final TagInfo _td_c_when_11_11 = new TagInfo("c:when", //$NON-NLS-1$
            11, 11,
            new String[] {
                "test", //$NON-NLS-1$
            },
            new String[] {
                "$foreign/@referenceTable=$eachTable/@name", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_otherwise_13_11 = new TagInfo("c:otherwise", //$NON-NLS-1$
            13, 11,
            new String[] {
            },
            new String[] {
            } );
    private static final TagInfo _td_c_get_15_20 = new TagInfo("c:get", //$NON-NLS-1$
            15, 20,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "uppercaseFirst($foreign/@referenceTable)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_15_82 = new TagInfo("c:get", //$NON-NLS-1$
            15, 82,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "lowercaseFirst($foreign/@referenceTable)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_when_21_8 = new TagInfo("c:when", //$NON-NLS-1$
            21, 8,
            new String[] {
                "test", //$NON-NLS-1$
            },
            new String[] {
                "$referencedTable/column/@hasReferenceLoop='true'", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_23_17 = new TagInfo("c:get", //$NON-NLS-1$
            23, 17,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "uppercaseFirst($everyTable/@name)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_23_72 = new TagInfo("c:get", //$NON-NLS-1$
            23, 72,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "lowercaseFirst($everyTable/@name)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_when_26_8 = new TagInfo("c:when", //$NON-NLS-1$
            26, 8,
            new String[] {
                "test", //$NON-NLS-1$
            },
            new String[] {
                "$referencedTable/column/@referencedCount>1", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_if_27_9 = new TagInfo("c:if", //$NON-NLS-1$
            27, 9,
            new String[] {
                "test", //$NON-NLS-1$
            },
            new String[] {
                "$referencedTable/column/@referencedOrder=1", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_29_18 = new TagInfo("c:get", //$NON-NLS-1$
            29, 18,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "uppercaseFirst($everyTable/@name)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_29_73 = new TagInfo("c:get", //$NON-NLS-1$
            29, 73,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "lowercaseFirst($everyTable/@name)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_otherwise_33_8 = new TagInfo("c:otherwise", //$NON-NLS-1$
            33, 8,
            new String[] {
            },
            new String[] {
            } );
    private static final TagInfo _td_c_get_35_17 = new TagInfo("c:get", //$NON-NLS-1$
            35, 17,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "uppercaseFirst($everyTable/@name)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_35_72 = new TagInfo("c:get", //$NON-NLS-1$
            35, 72,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "lowercaseFirst($everyTable/@name)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_java_import_42_5 = new TagInfo("java:import", //$NON-NLS-1$
            42, 5,
            new String[] {
            },
            new String[] {
            } );
    private static final TagInfo _td_java_import_43_12 = new TagInfo("java:import", //$NON-NLS-1$
            43, 12,
            new String[] {
            },
            new String[] {
            } );
    private static final TagInfo _td_c_get_43_25 = new TagInfo("c:get", //$NON-NLS-1$
            43, 25,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "$packageName", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_43_60 = new TagInfo("c:get", //$NON-NLS-1$
            43, 60,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "uppercaseFirst($eachTable/@name)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_43_128 = new TagInfo("c:get", //$NON-NLS-1$
            43, 128,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "lowercaseFirst($eachTable/@name)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_java_import_45_12 = new TagInfo("java:import", //$NON-NLS-1$
            45, 12,
            new String[] {
            },
            new String[] {
            } );
    private static final TagInfo _td_c_get_45_25 = new TagInfo("c:get", //$NON-NLS-1$
            45, 25,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "$packageName", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_45_64 = new TagInfo("c:get", //$NON-NLS-1$
            45, 64,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "uppercaseFirst($eachTable/@name)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_45_136 = new TagInfo("c:get", //$NON-NLS-1$
            45, 136,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "lowercaseFirst($eachTable/@name)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_java_format_47_4 = new TagInfo("java:format", //$NON-NLS-1$
            47, 4,
            new String[] {
            },
            new String[] {
            } );
    private static final TagInfo _td_c_iterate_48_5 = new TagInfo("c:iterate", //$NON-NLS-1$
            48, 5,
            new String[] {
                "select", //$NON-NLS-1$
                "var", //$NON-NLS-1$
            },
            new String[] {
                "$eachTable/foreigns/column", //$NON-NLS-1$
                "fol", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_choose_49_6 = new TagInfo("c:choose", //$NON-NLS-1$
            49, 6,
            new String[] {
            },
            new String[] {
            } );
    private static final TagInfo _td_c_when_50_7 = new TagInfo("c:when", //$NON-NLS-1$
            50, 7,
            new String[] {
                "test", //$NON-NLS-1$
            },
            new String[] {
                "$fol/@referenceTable = $eachTable/@name", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_otherwise_52_7 = new TagInfo("c:otherwise", //$NON-NLS-1$
            52, 7,
            new String[] {
            },
            new String[] {
            } );
    private static final TagInfo _td_c_choose_53_8 = new TagInfo("c:choose", //$NON-NLS-1$
            53, 8,
            new String[] {
            },
            new String[] {
            } );
    private static final TagInfo _td_c_when_54_9 = new TagInfo("c:when", //$NON-NLS-1$
            54, 9,
            new String[] {
                "test", //$NON-NLS-1$
            },
            new String[] {
                "$fol/@hasReferenceLoop='true'", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_when_57_9 = new TagInfo("c:when", //$NON-NLS-1$
            57, 9,
            new String[] {
                "test", //$NON-NLS-1$
            },
            new String[] {
                "$fol/@referenceCount>1", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_if_58_10 = new TagInfo("c:if", //$NON-NLS-1$
            58, 10,
            new String[] {
                "test", //$NON-NLS-1$
            },
            new String[] {
                "$fol/@referenceOrder=1", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_60_19 = new TagInfo("c:get", //$NON-NLS-1$
            60, 19,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "uppercaseFirst($fol/@referenceTable)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_60_77 = new TagInfo("c:get", //$NON-NLS-1$
            60, 77,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "lowercaseFirst($fol/@referenceTable)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_otherwise_64_9 = new TagInfo("c:otherwise", //$NON-NLS-1$
            64, 9,
            new String[] {
            },
            new String[] {
            } );
    private static final TagInfo _td_c_get_66_18 = new TagInfo("c:get", //$NON-NLS-1$
            66, 18,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "uppercaseFirst($fol/@referenceTable)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_66_76 = new TagInfo("c:get", //$NON-NLS-1$
            66, 76,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "lowercaseFirst($fol/@referenceTable)", //$NON-NLS-1$
            } );

    public void generate(final JET2Context context, final JET2Writer __out) {
        JET2Writer out = __out;
        out.write("\t\t\t");  //$NON-NLS-1$        
        RuntimeTagElement _jettag_c_iterate_1_4 = context.getTagFactory().createRuntimeTag(_jetns_c, "iterate", "c:iterate", _td_c_iterate_1_4); //$NON-NLS-1$ //$NON-NLS-2$
        _jettag_c_iterate_1_4.setRuntimeParent(null);
        _jettag_c_iterate_1_4.setTagInfo(_td_c_iterate_1_4);
        _jettag_c_iterate_1_4.doStart(context, out);
        while (_jettag_c_iterate_1_4.okToProcessBody()) {
            // 先处理被引用列 
            RuntimeTagElement _jettag_c_iterate_2_5 = context.getTagFactory().createRuntimeTag(_jetns_c, "iterate", "c:iterate", _td_c_iterate_2_5); //$NON-NLS-1$ //$NON-NLS-2$
            _jettag_c_iterate_2_5.setRuntimeParent(_jettag_c_iterate_1_4);
            _jettag_c_iterate_2_5.setTagInfo(_td_c_iterate_2_5);
            _jettag_c_iterate_2_5.doStart(context, out);
            while (_jettag_c_iterate_2_5.okToProcessBody()) {
                RuntimeTagElement _jettag_c_if_3_6 = context.getTagFactory().createRuntimeTag(_jetns_c, "if", "c:if", _td_c_if_3_6); //$NON-NLS-1$ //$NON-NLS-2$
                _jettag_c_if_3_6.setRuntimeParent(_jettag_c_iterate_2_5);
                _jettag_c_if_3_6.setTagInfo(_td_c_if_3_6);
                _jettag_c_if_3_6.doStart(context, out);
                while (_jettag_c_if_3_6.okToProcessBody()) {
                    RuntimeTagElement _jettag_c_choose_4_7 = context.getTagFactory().createRuntimeTag(_jetns_c, "choose", "c:choose", _td_c_choose_4_7); //$NON-NLS-1$ //$NON-NLS-2$
                    _jettag_c_choose_4_7.setRuntimeParent(_jettag_c_if_3_6);
                    _jettag_c_choose_4_7.setTagInfo(_td_c_choose_4_7);
                    _jettag_c_choose_4_7.doStart(context, out);
                    JET2Writer _jettag_c_choose_4_7_saved_out = out;
                    while (_jettag_c_choose_4_7.okToProcessBody()) {
                        out = out.newNestedContentWriter();
                        out.write("\t\t\t\t\t\t\t");  //$NON-NLS-1$        
                        RuntimeTagElement _jettag_c_when_5_8 = context.getTagFactory().createRuntimeTag(_jetns_c, "when", "c:when", _td_c_when_5_8); //$NON-NLS-1$ //$NON-NLS-2$
                        _jettag_c_when_5_8.setRuntimeParent(_jettag_c_choose_4_7);
                        _jettag_c_when_5_8.setTagInfo(_td_c_when_5_8);
                        _jettag_c_when_5_8.doStart(context, out);
                        JET2Writer _jettag_c_when_5_8_saved_out = out;
                        while (_jettag_c_when_5_8.okToProcessBody()) {
                            out = out.newNestedContentWriter();
                            out.write(" ");  //$NON-NLS-1$        
                            //  自引用关系既是自己的外键又是自己的被引用键  要细心考虑
                            out.write(NL);         
                            _jettag_c_when_5_8.handleBodyContent(out);
                        }
                        out = _jettag_c_when_5_8_saved_out;
                        _jettag_c_when_5_8.doEnd();
                        out.write("\t\t\t\t\t\t\t");  //$NON-NLS-1$        
                        out.write(NL);         
                        RuntimeTagElement _jettag_c_when_8_8 = context.getTagFactory().createRuntimeTag(_jetns_c, "when", "c:when", _td_c_when_8_8); //$NON-NLS-1$ //$NON-NLS-2$
                        _jettag_c_when_8_8.setRuntimeParent(_jettag_c_choose_4_7);
                        _jettag_c_when_8_8.setTagInfo(_td_c_when_8_8);
                        _jettag_c_when_8_8.doStart(context, out);
                        JET2Writer _jettag_c_when_8_8_saved_out = out;
                        while (_jettag_c_when_8_8.okToProcessBody()) {
                            out = out.newNestedContentWriter();
                            RuntimeTagElement _jettag_c_iterate_9_9 = context.getTagFactory().createRuntimeTag(_jetns_c, "iterate", "c:iterate", _td_c_iterate_9_9); //$NON-NLS-1$ //$NON-NLS-2$
                            _jettag_c_iterate_9_9.setRuntimeParent(_jettag_c_when_8_8);
                            _jettag_c_iterate_9_9.setTagInfo(_td_c_iterate_9_9);
                            _jettag_c_iterate_9_9.doStart(context, out);
                            while (_jettag_c_iterate_9_9.okToProcessBody()) {
                                RuntimeTagElement _jettag_c_choose_10_10 = context.getTagFactory().createRuntimeTag(_jetns_c, "choose", "c:choose", _td_c_choose_10_10); //$NON-NLS-1$ //$NON-NLS-2$
                                _jettag_c_choose_10_10.setRuntimeParent(_jettag_c_iterate_9_9);
                                _jettag_c_choose_10_10.setTagInfo(_td_c_choose_10_10);
                                _jettag_c_choose_10_10.doStart(context, out);
                                JET2Writer _jettag_c_choose_10_10_saved_out = out;
                                while (_jettag_c_choose_10_10.okToProcessBody()) {
                                    out = out.newNestedContentWriter();
                                    RuntimeTagElement _jettag_c_when_11_11 = context.getTagFactory().createRuntimeTag(_jetns_c, "when", "c:when", _td_c_when_11_11); //$NON-NLS-1$ //$NON-NLS-2$
                                    _jettag_c_when_11_11.setRuntimeParent(_jettag_c_choose_10_10);
                                    _jettag_c_when_11_11.setTagInfo(_td_c_when_11_11);
                                    _jettag_c_when_11_11.doStart(context, out);
                                    JET2Writer _jettag_c_when_11_11_saved_out = out;
                                    while (_jettag_c_when_11_11.okToProcessBody()) {
                                        out = out.newNestedContentWriter();
                                        _jettag_c_when_11_11.handleBodyContent(out);
                                    }
                                    out = _jettag_c_when_11_11_saved_out;
                                    _jettag_c_when_11_11.doEnd();
                                    RuntimeTagElement _jettag_c_otherwise_13_11 = context.getTagFactory().createRuntimeTag(_jetns_c, "otherwise", "c:otherwise", _td_c_otherwise_13_11); //$NON-NLS-1$ //$NON-NLS-2$
                                    _jettag_c_otherwise_13_11.setRuntimeParent(_jettag_c_choose_10_10);
                                    _jettag_c_otherwise_13_11.setTagInfo(_td_c_otherwise_13_11);
                                    _jettag_c_otherwise_13_11.doStart(context, out);
                                    JET2Writer _jettag_c_otherwise_13_11_saved_out = out;
                                    while (_jettag_c_otherwise_13_11.okToProcessBody()) {
                                        out = out.newNestedContentWriter();
                                        out.write("\t\t\t\t\t\t\t\t\t\t\t@Autowired");  //$NON-NLS-1$        
                                        out.write(NL);         
                                        out.write("\t\t\t\t\t\t\t\t\t\t\tprivate ");  //$NON-NLS-1$        
                                        RuntimeTagElement _jettag_c_get_15_20 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_15_20); //$NON-NLS-1$ //$NON-NLS-2$
                                        _jettag_c_get_15_20.setRuntimeParent(_jettag_c_otherwise_13_11);
                                        _jettag_c_get_15_20.setTagInfo(_td_c_get_15_20);
                                        _jettag_c_get_15_20.doStart(context, out);
                                        _jettag_c_get_15_20.doEnd();
                                        out.write("DAO ");  //$NON-NLS-1$        
                                        RuntimeTagElement _jettag_c_get_15_82 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_15_82); //$NON-NLS-1$ //$NON-NLS-2$
                                        _jettag_c_get_15_82.setRuntimeParent(_jettag_c_otherwise_13_11);
                                        _jettag_c_get_15_82.setTagInfo(_td_c_get_15_82);
                                        _jettag_c_get_15_82.doStart(context, out);
                                        _jettag_c_get_15_82.doEnd();
                                        out.write("DAO;\t");  //$NON-NLS-1$        
                                        out.write(NL);         
                                        _jettag_c_otherwise_13_11.handleBodyContent(out);
                                    }
                                    out = _jettag_c_otherwise_13_11_saved_out;
                                    _jettag_c_otherwise_13_11.doEnd();
                                    _jettag_c_choose_10_10.handleBodyContent(out);
                                }
                                out = _jettag_c_choose_10_10_saved_out;
                                _jettag_c_choose_10_10.doEnd();
                                _jettag_c_iterate_9_9.handleBodyContent(out);
                            }
                            _jettag_c_iterate_9_9.doEnd();
                            _jettag_c_when_8_8.handleBodyContent(out);
                        }
                        out = _jettag_c_when_8_8_saved_out;
                        _jettag_c_when_8_8.doEnd();
                        out.write("\t\t\t\t\t\t");  //$NON-NLS-1$        
                        out.write(NL);         
                        out.write("\t\t\t\t\t\t\t");  //$NON-NLS-1$        
                        RuntimeTagElement _jettag_c_when_21_8 = context.getTagFactory().createRuntimeTag(_jetns_c, "when", "c:when", _td_c_when_21_8); //$NON-NLS-1$ //$NON-NLS-2$
                        _jettag_c_when_21_8.setRuntimeParent(_jettag_c_choose_4_7);
                        _jettag_c_when_21_8.setTagInfo(_td_c_when_21_8);
                        _jettag_c_when_21_8.doStart(context, out);
                        JET2Writer _jettag_c_when_21_8_saved_out = out;
                        while (_jettag_c_when_21_8.okToProcessBody()) {
                            out = out.newNestedContentWriter();
                            out.write("   ");  //$NON-NLS-1$        
                            //对付两个表相互引用成环的情况
                            out.write(NL);         
                            out.write("\t\t\t\t\t\t\t\t@Autowired");  //$NON-NLS-1$        
                            out.write(NL);         
                            out.write("\t\t\t\t\t\t\t\tprivate ");  //$NON-NLS-1$        
                            RuntimeTagElement _jettag_c_get_23_17 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_23_17); //$NON-NLS-1$ //$NON-NLS-2$
                            _jettag_c_get_23_17.setRuntimeParent(_jettag_c_when_21_8);
                            _jettag_c_get_23_17.setTagInfo(_td_c_get_23_17);
                            _jettag_c_get_23_17.doStart(context, out);
                            _jettag_c_get_23_17.doEnd();
                            out.write("DAO ");  //$NON-NLS-1$        
                            RuntimeTagElement _jettag_c_get_23_72 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_23_72); //$NON-NLS-1$ //$NON-NLS-2$
                            _jettag_c_get_23_72.setRuntimeParent(_jettag_c_when_21_8);
                            _jettag_c_get_23_72.setTagInfo(_td_c_get_23_72);
                            _jettag_c_get_23_72.doStart(context, out);
                            _jettag_c_get_23_72.doEnd();
                            out.write("DAO;\t\t");  //$NON-NLS-1$        
                            out.write(NL);         
                            _jettag_c_when_21_8.handleBodyContent(out);
                        }
                        out = _jettag_c_when_21_8_saved_out;
                        _jettag_c_when_21_8.doEnd();
                        out.write("\t\t\t\t\t\t");  //$NON-NLS-1$        
                        out.write(NL);         
                        out.write("\t\t\t\t\t\t\t");  //$NON-NLS-1$        
                        RuntimeTagElement _jettag_c_when_26_8 = context.getTagFactory().createRuntimeTag(_jetns_c, "when", "c:when", _td_c_when_26_8); //$NON-NLS-1$ //$NON-NLS-2$
                        _jettag_c_when_26_8.setRuntimeParent(_jettag_c_choose_4_7);
                        _jettag_c_when_26_8.setTagInfo(_td_c_when_26_8);
                        _jettag_c_when_26_8.doStart(context, out);
                        JET2Writer _jettag_c_when_26_8_saved_out = out;
                        while (_jettag_c_when_26_8.okToProcessBody()) {
                            out = out.newNestedContentWriter();
                            out.write("    ");  //$NON-NLS-1$        
                            // 对付通过自身被引用键被同一个表多次引用  referenceCount>=2
                            out.write(NL);         
                            RuntimeTagElement _jettag_c_if_27_9 = context.getTagFactory().createRuntimeTag(_jetns_c, "if", "c:if", _td_c_if_27_9); //$NON-NLS-1$ //$NON-NLS-2$
                            _jettag_c_if_27_9.setRuntimeParent(_jettag_c_when_26_8);
                            _jettag_c_if_27_9.setTagInfo(_td_c_if_27_9);
                            _jettag_c_if_27_9.doStart(context, out);
                            while (_jettag_c_if_27_9.okToProcessBody()) {
                                out.write("\t\t\t\t\t\t\t\t\t@Autowired");  //$NON-NLS-1$        
                                out.write(NL);         
                                out.write("\t\t\t\t\t\t\t\t\tprivate ");  //$NON-NLS-1$        
                                RuntimeTagElement _jettag_c_get_29_18 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_29_18); //$NON-NLS-1$ //$NON-NLS-2$
                                _jettag_c_get_29_18.setRuntimeParent(_jettag_c_if_27_9);
                                _jettag_c_get_29_18.setTagInfo(_td_c_get_29_18);
                                _jettag_c_get_29_18.doStart(context, out);
                                _jettag_c_get_29_18.doEnd();
                                out.write("DAO ");  //$NON-NLS-1$        
                                RuntimeTagElement _jettag_c_get_29_73 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_29_73); //$NON-NLS-1$ //$NON-NLS-2$
                                _jettag_c_get_29_73.setRuntimeParent(_jettag_c_if_27_9);
                                _jettag_c_get_29_73.setTagInfo(_td_c_get_29_73);
                                _jettag_c_get_29_73.doStart(context, out);
                                _jettag_c_get_29_73.doEnd();
                                out.write("DAO;\t\t");  //$NON-NLS-1$        
                                out.write(NL);         
                                _jettag_c_if_27_9.handleBodyContent(out);
                            }
                            _jettag_c_if_27_9.doEnd();
                            _jettag_c_when_26_8.handleBodyContent(out);
                        }
                        out = _jettag_c_when_26_8_saved_out;
                        _jettag_c_when_26_8.doEnd();
                        out.write("\t\t\t\t\t\t");  //$NON-NLS-1$        
                        out.write(NL);         
                        RuntimeTagElement _jettag_c_otherwise_33_8 = context.getTagFactory().createRuntimeTag(_jetns_c, "otherwise", "c:otherwise", _td_c_otherwise_33_8); //$NON-NLS-1$ //$NON-NLS-2$
                        _jettag_c_otherwise_33_8.setRuntimeParent(_jettag_c_choose_4_7);
                        _jettag_c_otherwise_33_8.setTagInfo(_td_c_otherwise_33_8);
                        _jettag_c_otherwise_33_8.doStart(context, out);
                        JET2Writer _jettag_c_otherwise_33_8_saved_out = out;
                        while (_jettag_c_otherwise_33_8.okToProcessBody()) {
                            out = out.newNestedContentWriter();
                            out.write("\t\t\t\t\t\t\t\t@Autowired");  //$NON-NLS-1$        
                            out.write(NL);         
                            out.write("\t\t\t\t\t\t\t\tprivate ");  //$NON-NLS-1$        
                            RuntimeTagElement _jettag_c_get_35_17 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_35_17); //$NON-NLS-1$ //$NON-NLS-2$
                            _jettag_c_get_35_17.setRuntimeParent(_jettag_c_otherwise_33_8);
                            _jettag_c_get_35_17.setTagInfo(_td_c_get_35_17);
                            _jettag_c_get_35_17.doStart(context, out);
                            _jettag_c_get_35_17.doEnd();
                            out.write("DAO ");  //$NON-NLS-1$        
                            RuntimeTagElement _jettag_c_get_35_72 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_35_72); //$NON-NLS-1$ //$NON-NLS-2$
                            _jettag_c_get_35_72.setRuntimeParent(_jettag_c_otherwise_33_8);
                            _jettag_c_get_35_72.setTagInfo(_td_c_get_35_72);
                            _jettag_c_get_35_72.doStart(context, out);
                            _jettag_c_get_35_72.doEnd();
                            out.write("DAO;\t\t\t\t");  //$NON-NLS-1$        
                            out.write(NL);         
                            _jettag_c_otherwise_33_8.handleBodyContent(out);
                        }
                        out = _jettag_c_otherwise_33_8_saved_out;
                        _jettag_c_otherwise_33_8.doEnd();
                        _jettag_c_choose_4_7.handleBodyContent(out);
                    }
                    out = _jettag_c_choose_4_7_saved_out;
                    _jettag_c_choose_4_7.doEnd();
                    _jettag_c_if_3_6.handleBodyContent(out);
                }
                _jettag_c_if_3_6.doEnd();
                _jettag_c_iterate_2_5.handleBodyContent(out);
            }
            _jettag_c_iterate_2_5.doEnd();
            _jettag_c_iterate_1_4.handleBodyContent(out);
        }
        _jettag_c_iterate_1_4.doEnd();
        out.write("\t");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("\t\t\t@");  //$NON-NLS-1$        
        RuntimeTagElement _jettag_java_import_42_5 = context.getTagFactory().createRuntimeTag(_jetns_java, "import", "java:import", _td_java_import_42_5); //$NON-NLS-1$ //$NON-NLS-2$
        _jettag_java_import_42_5.setRuntimeParent(null);
        _jettag_java_import_42_5.setTagInfo(_td_java_import_42_5);
        _jettag_java_import_42_5.doStart(context, out);
        JET2Writer _jettag_java_import_42_5_saved_out = out;
        while (_jettag_java_import_42_5.okToProcessBody()) {
            out = out.newNestedContentWriter();
            out.write("org.springframework.beans.factory.annotation.Autowired");  //$NON-NLS-1$        
            _jettag_java_import_42_5.handleBodyContent(out);
        }
        out = _jettag_java_import_42_5_saved_out;
        _jettag_java_import_42_5.doEnd();
        out.write(NL);         
        out.write("\t\t\tprivate ");  //$NON-NLS-1$        
        RuntimeTagElement _jettag_java_import_43_12 = context.getTagFactory().createRuntimeTag(_jetns_java, "import", "java:import", _td_java_import_43_12); //$NON-NLS-1$ //$NON-NLS-2$
        _jettag_java_import_43_12.setRuntimeParent(null);
        _jettag_java_import_43_12.setTagInfo(_td_java_import_43_12);
        _jettag_java_import_43_12.doStart(context, out);
        JET2Writer _jettag_java_import_43_12_saved_out = out;
        while (_jettag_java_import_43_12.okToProcessBody()) {
            out = out.newNestedContentWriter();
            RuntimeTagElement _jettag_c_get_43_25 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_43_25); //$NON-NLS-1$ //$NON-NLS-2$
            _jettag_c_get_43_25.setRuntimeParent(_jettag_java_import_43_12);
            _jettag_c_get_43_25.setTagInfo(_td_c_get_43_25);
            _jettag_c_get_43_25.doStart(context, out);
            _jettag_c_get_43_25.doEnd();
            out.write(".dao.");  //$NON-NLS-1$        
            RuntimeTagElement _jettag_c_get_43_60 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_43_60); //$NON-NLS-1$ //$NON-NLS-2$
            _jettag_c_get_43_60.setRuntimeParent(_jettag_java_import_43_12);
            _jettag_c_get_43_60.setTagInfo(_td_c_get_43_60);
            _jettag_c_get_43_60.doStart(context, out);
            _jettag_c_get_43_60.doEnd();
            out.write("DAO");  //$NON-NLS-1$        
            _jettag_java_import_43_12.handleBodyContent(out);
        }
        out = _jettag_java_import_43_12_saved_out;
        _jettag_java_import_43_12.doEnd();
        out.write(" ");  //$NON-NLS-1$        
        RuntimeTagElement _jettag_c_get_43_128 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_43_128); //$NON-NLS-1$ //$NON-NLS-2$
        _jettag_c_get_43_128.setRuntimeParent(null);
        _jettag_c_get_43_128.setTagInfo(_td_c_get_43_128);
        _jettag_c_get_43_128.doStart(context, out);
        _jettag_c_get_43_128.doEnd();
        out.write("DAO;");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("\t\t\t@Autowired");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("\t\t\tprivate ");  //$NON-NLS-1$        
        RuntimeTagElement _jettag_java_import_45_12 = context.getTagFactory().createRuntimeTag(_jetns_java, "import", "java:import", _td_java_import_45_12); //$NON-NLS-1$ //$NON-NLS-2$
        _jettag_java_import_45_12.setRuntimeParent(null);
        _jettag_java_import_45_12.setTagInfo(_td_java_import_45_12);
        _jettag_java_import_45_12.doStart(context, out);
        JET2Writer _jettag_java_import_45_12_saved_out = out;
        while (_jettag_java_import_45_12.okToProcessBody()) {
            out = out.newNestedContentWriter();
            RuntimeTagElement _jettag_c_get_45_25 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_45_25); //$NON-NLS-1$ //$NON-NLS-2$
            _jettag_c_get_45_25.setRuntimeParent(_jettag_java_import_45_12);
            _jettag_c_get_45_25.setTagInfo(_td_c_get_45_25);
            _jettag_c_get_45_25.doStart(context, out);
            _jettag_c_get_45_25.doEnd();
            out.write(".service.");  //$NON-NLS-1$        
            RuntimeTagElement _jettag_c_get_45_64 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_45_64); //$NON-NLS-1$ //$NON-NLS-2$
            _jettag_c_get_45_64.setRuntimeParent(_jettag_java_import_45_12);
            _jettag_c_get_45_64.setTagInfo(_td_c_get_45_64);
            _jettag_c_get_45_64.doStart(context, out);
            _jettag_c_get_45_64.doEnd();
            out.write("Service");  //$NON-NLS-1$        
            _jettag_java_import_45_12.handleBodyContent(out);
        }
        out = _jettag_java_import_45_12_saved_out;
        _jettag_java_import_45_12.doEnd();
        out.write(" ");  //$NON-NLS-1$        
        RuntimeTagElement _jettag_c_get_45_136 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_45_136); //$NON-NLS-1$ //$NON-NLS-2$
        _jettag_c_get_45_136.setRuntimeParent(null);
        _jettag_c_get_45_136.setTagInfo(_td_c_get_45_136);
        _jettag_c_get_45_136.doStart(context, out);
        _jettag_c_get_45_136.doEnd();
        out.write("Service;");  //$NON-NLS-1$        
        out.write(NL);         
        out.write(NL);         
        out.write("\t\t\t");  //$NON-NLS-1$        
        RuntimeTagElement _jettag_java_format_47_4 = context.getTagFactory().createRuntimeTag(_jetns_java, "format", "java:format", _td_java_format_47_4); //$NON-NLS-1$ //$NON-NLS-2$
        _jettag_java_format_47_4.setRuntimeParent(null);
        _jettag_java_format_47_4.setTagInfo(_td_java_format_47_4);
        _jettag_java_format_47_4.doStart(context, out);
        JET2Writer _jettag_java_format_47_4_saved_out = out;
        while (_jettag_java_format_47_4.okToProcessBody()) {
            out = out.newNestedContentWriter();
            out.write("\t\t\t");  //$NON-NLS-1$        
            out.write(NL);         
            RuntimeTagElement _jettag_c_iterate_48_5 = context.getTagFactory().createRuntimeTag(_jetns_c, "iterate", "c:iterate", _td_c_iterate_48_5); //$NON-NLS-1$ //$NON-NLS-2$
            _jettag_c_iterate_48_5.setRuntimeParent(_jettag_java_format_47_4);
            _jettag_c_iterate_48_5.setTagInfo(_td_c_iterate_48_5);
            _jettag_c_iterate_48_5.doStart(context, out);
            while (_jettag_c_iterate_48_5.okToProcessBody()) {
                RuntimeTagElement _jettag_c_choose_49_6 = context.getTagFactory().createRuntimeTag(_jetns_c, "choose", "c:choose", _td_c_choose_49_6); //$NON-NLS-1$ //$NON-NLS-2$
                _jettag_c_choose_49_6.setRuntimeParent(_jettag_c_iterate_48_5);
                _jettag_c_choose_49_6.setTagInfo(_td_c_choose_49_6);
                _jettag_c_choose_49_6.doStart(context, out);
                JET2Writer _jettag_c_choose_49_6_saved_out = out;
                while (_jettag_c_choose_49_6.okToProcessBody()) {
                    out = out.newNestedContentWriter();
                    RuntimeTagElement _jettag_c_when_50_7 = context.getTagFactory().createRuntimeTag(_jetns_c, "when", "c:when", _td_c_when_50_7); //$NON-NLS-1$ //$NON-NLS-2$
                    _jettag_c_when_50_7.setRuntimeParent(_jettag_c_choose_49_6);
                    _jettag_c_when_50_7.setTagInfo(_td_c_when_50_7);
                    _jettag_c_when_50_7.doStart(context, out);
                    JET2Writer _jettag_c_when_50_7_saved_out = out;
                    while (_jettag_c_when_50_7.okToProcessBody()) {
                        out = out.newNestedContentWriter();
                        _jettag_c_when_50_7.handleBodyContent(out);
                    }
                    out = _jettag_c_when_50_7_saved_out;
                    _jettag_c_when_50_7.doEnd();
                    RuntimeTagElement _jettag_c_otherwise_52_7 = context.getTagFactory().createRuntimeTag(_jetns_c, "otherwise", "c:otherwise", _td_c_otherwise_52_7); //$NON-NLS-1$ //$NON-NLS-2$
                    _jettag_c_otherwise_52_7.setRuntimeParent(_jettag_c_choose_49_6);
                    _jettag_c_otherwise_52_7.setTagInfo(_td_c_otherwise_52_7);
                    _jettag_c_otherwise_52_7.doStart(context, out);
                    JET2Writer _jettag_c_otherwise_52_7_saved_out = out;
                    while (_jettag_c_otherwise_52_7.okToProcessBody()) {
                        out = out.newNestedContentWriter();
                        RuntimeTagElement _jettag_c_choose_53_8 = context.getTagFactory().createRuntimeTag(_jetns_c, "choose", "c:choose", _td_c_choose_53_8); //$NON-NLS-1$ //$NON-NLS-2$
                        _jettag_c_choose_53_8.setRuntimeParent(_jettag_c_otherwise_52_7);
                        _jettag_c_choose_53_8.setTagInfo(_td_c_choose_53_8);
                        _jettag_c_choose_53_8.doStart(context, out);
                        JET2Writer _jettag_c_choose_53_8_saved_out = out;
                        while (_jettag_c_choose_53_8.okToProcessBody()) {
                            out = out.newNestedContentWriter();
                            out.write("\t\t\t\t\t\t\t\t");  //$NON-NLS-1$        
                            RuntimeTagElement _jettag_c_when_54_9 = context.getTagFactory().createRuntimeTag(_jetns_c, "when", "c:when", _td_c_when_54_9); //$NON-NLS-1$ //$NON-NLS-2$
                            _jettag_c_when_54_9.setRuntimeParent(_jettag_c_choose_53_8);
                            _jettag_c_when_54_9.setTagInfo(_td_c_when_54_9);
                            _jettag_c_when_54_9.doStart(context, out);
                            JET2Writer _jettag_c_when_54_9_saved_out = out;
                            while (_jettag_c_when_54_9.okToProcessBody()) {
                                out = out.newNestedContentWriter();
                                out.write("   ");  //$NON-NLS-1$        
                                //排除两个表相互引用成环情况，两个表相互引用成环情况上面已经考虑
                                out.write(NL);         
                                _jettag_c_when_54_9.handleBodyContent(out);
                            }
                            out = _jettag_c_when_54_9_saved_out;
                            _jettag_c_when_54_9.doEnd();
                            out.write("\t\t\t\t\t\t\t\t");  //$NON-NLS-1$        
                            out.write(NL);         
                            out.write("\t\t\t\t\t\t\t\t");  //$NON-NLS-1$        
                            RuntimeTagElement _jettag_c_when_57_9 = context.getTagFactory().createRuntimeTag(_jetns_c, "when", "c:when", _td_c_when_57_9); //$NON-NLS-1$ //$NON-NLS-2$
                            _jettag_c_when_57_9.setRuntimeParent(_jettag_c_choose_53_8);
                            _jettag_c_when_57_9.setTagInfo(_td_c_when_57_9);
                            _jettag_c_when_57_9.doStart(context, out);
                            JET2Writer _jettag_c_when_57_9_saved_out = out;
                            while (_jettag_c_when_57_9.okToProcessBody()) {
                                out = out.newNestedContentWriter();
                                out.write("    ");  //$NON-NLS-1$        
                                // 20190116对付通过自身外键引用同一个表多次  referenceCount>=2
                                out.write(NL);         
                                RuntimeTagElement _jettag_c_if_58_10 = context.getTagFactory().createRuntimeTag(_jetns_c, "if", "c:if", _td_c_if_58_10); //$NON-NLS-1$ //$NON-NLS-2$
                                _jettag_c_if_58_10.setRuntimeParent(_jettag_c_when_57_9);
                                _jettag_c_if_58_10.setTagInfo(_td_c_if_58_10);
                                _jettag_c_if_58_10.doStart(context, out);
                                while (_jettag_c_if_58_10.okToProcessBody()) {
                                    out.write("\t\t\t\t\t\t\t\t\t\t@Autowired");  //$NON-NLS-1$        
                                    out.write(NL);         
                                    out.write("\t\t\t\t\t\t\t\t\t\tprivate ");  //$NON-NLS-1$        
                                    RuntimeTagElement _jettag_c_get_60_19 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_60_19); //$NON-NLS-1$ //$NON-NLS-2$
                                    _jettag_c_get_60_19.setRuntimeParent(_jettag_c_if_58_10);
                                    _jettag_c_get_60_19.setTagInfo(_td_c_get_60_19);
                                    _jettag_c_get_60_19.doStart(context, out);
                                    _jettag_c_get_60_19.doEnd();
                                    out.write("DAO ");  //$NON-NLS-1$        
                                    RuntimeTagElement _jettag_c_get_60_77 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_60_77); //$NON-NLS-1$ //$NON-NLS-2$
                                    _jettag_c_get_60_77.setRuntimeParent(_jettag_c_if_58_10);
                                    _jettag_c_get_60_77.setTagInfo(_td_c_get_60_77);
                                    _jettag_c_get_60_77.doStart(context, out);
                                    _jettag_c_get_60_77.doEnd();
                                    out.write("DAO;\t\t");  //$NON-NLS-1$        
                                    out.write(NL);         
                                    _jettag_c_if_58_10.handleBodyContent(out);
                                }
                                _jettag_c_if_58_10.doEnd();
                                _jettag_c_when_57_9.handleBodyContent(out);
                            }
                            out = _jettag_c_when_57_9_saved_out;
                            _jettag_c_when_57_9.doEnd();
                            out.write("\t\t\t\t\t\t\t\t");  //$NON-NLS-1$        
                            out.write(NL);         
                            RuntimeTagElement _jettag_c_otherwise_64_9 = context.getTagFactory().createRuntimeTag(_jetns_c, "otherwise", "c:otherwise", _td_c_otherwise_64_9); //$NON-NLS-1$ //$NON-NLS-2$
                            _jettag_c_otherwise_64_9.setRuntimeParent(_jettag_c_choose_53_8);
                            _jettag_c_otherwise_64_9.setTagInfo(_td_c_otherwise_64_9);
                            _jettag_c_otherwise_64_9.doStart(context, out);
                            JET2Writer _jettag_c_otherwise_64_9_saved_out = out;
                            while (_jettag_c_otherwise_64_9.okToProcessBody()) {
                                out = out.newNestedContentWriter();
                                out.write("\t\t\t\t\t\t\t\t\t@Autowired");  //$NON-NLS-1$        
                                out.write(NL);         
                                out.write("\t\t\t\t\t\t\t\t\tprivate ");  //$NON-NLS-1$        
                                RuntimeTagElement _jettag_c_get_66_18 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_66_18); //$NON-NLS-1$ //$NON-NLS-2$
                                _jettag_c_get_66_18.setRuntimeParent(_jettag_c_otherwise_64_9);
                                _jettag_c_get_66_18.setTagInfo(_td_c_get_66_18);
                                _jettag_c_get_66_18.doStart(context, out);
                                _jettag_c_get_66_18.doEnd();
                                out.write("DAO ");  //$NON-NLS-1$        
                                RuntimeTagElement _jettag_c_get_66_76 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_66_76); //$NON-NLS-1$ //$NON-NLS-2$
                                _jettag_c_get_66_76.setRuntimeParent(_jettag_c_otherwise_64_9);
                                _jettag_c_get_66_76.setTagInfo(_td_c_get_66_76);
                                _jettag_c_get_66_76.doStart(context, out);
                                _jettag_c_get_66_76.doEnd();
                                out.write("DAO;\t\t\t");  //$NON-NLS-1$        
                                out.write(NL);         
                                _jettag_c_otherwise_64_9.handleBodyContent(out);
                            }
                            out = _jettag_c_otherwise_64_9_saved_out;
                            _jettag_c_otherwise_64_9.doEnd();
                            _jettag_c_choose_53_8.handleBodyContent(out);
                        }
                        out = _jettag_c_choose_53_8_saved_out;
                        _jettag_c_choose_53_8.doEnd();
                        _jettag_c_otherwise_52_7.handleBodyContent(out);
                    }
                    out = _jettag_c_otherwise_52_7_saved_out;
                    _jettag_c_otherwise_52_7.doEnd();
                    _jettag_c_choose_49_6.handleBodyContent(out);
                }
                out = _jettag_c_choose_49_6_saved_out;
                _jettag_c_choose_49_6.doEnd();
                _jettag_c_iterate_48_5.handleBodyContent(out);
            }
            _jettag_c_iterate_48_5.doEnd();
            out.write("\t\t\t");  //$NON-NLS-1$        
            _jettag_java_format_47_4.handleBodyContent(out);
        }
        out = _jettag_java_format_47_4_saved_out;
        _jettag_java_format_47_4.doEnd();
        out.write(NL);         
        out.write("\t");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("\t");  //$NON-NLS-1$        
        out.write(NL);         
        //具有被引用列referenced
        //	只具有外键列foreigns没有被引用列referenced
        //	没有被引用列referenced与外键列foreigns
        //	自引用不用处理
        //	纯连接表有引用其它表   纯连接表没有引用其它表 
        //	是否通过自身外键引用同一个表多次
        //	是否通过自身被引用键被同一个表多次引用
        out.write(NL);         
    }
}
